class AddCreditToCourse < ActiveRecord::Migration
  def self.up
    add_column :courses, :credit_normal, :integer
    add_column :courses, :credit_practice, :integer
  end

  def self.down
    remove_column :courses, :credit_normal
    remove_column :courses, :credit_practice
  end
end
